package com.cnware.capture.ui.window.wizard;

import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.layout.RowLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;

public class TaskSearchEnginePage extends WizardPage {
	private Text text;

	protected TaskSearchEnginePage(String pageName) {
		super(pageName);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void createControl(Composite parent) {
		Composite container = new Composite(parent, SWT.NULL);
		setControl(container);
		container.setLayout(new GridLayout(1, false));
		
		Group group = new Group(container, SWT.NONE);
		group.setText("\u641C\u7D22\u5F15\u64CE");
		group.setLayout(new RowLayout(SWT.HORIZONTAL));
		group.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
		
		Label label = new Label(group, SWT.NONE);
		label.setText("     ");
		
		Button button = new Button(group, SWT.CHECK);
		button.setText("\u767E\u5EA6");
		
		Button btnhk = new Button(group, SWT.CHECK);
		btnhk.setText("\u8C37\u6B4C\uFF08HK\uFF09");
		
		Button btnGoogle = new Button(group, SWT.CHECK);
		btnGoogle.setText("Google");
		
		Button button_1 = new Button(group, SWT.CHECK);
		button_1.setText("\u641C\u641C");
		
		Button button_2 = new Button(group, SWT.CHECK);
		button_2.setText("\u641C\u72D7");
		
		Button button_3 = new Button(group, SWT.CHECK);
		button_3.setText("\u6709\u9053");
		
		Button btnBing = new Button(group, SWT.CHECK);
		btnBing.setText("Bing");
		
		Group group_1 = new Group(container, SWT.NONE);
		group_1.setLayout(new GridLayout(2, false));
		group_1.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
		group_1.setText("\u5173\u952E\u5B57\u8BBE\u7F6E");
		
		text = new Text(group_1, SWT.BORDER | SWT.V_SCROLL | SWT.MULTI);
		GridData gd_text = new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1);
		gd_text.heightHint = 203;
		text.setLayoutData(gd_text);
		
		Label lblNewLabel = new Label(group_1, SWT.NONE);
		lblNewLabel.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 1, 1));
		lblNewLabel.setText("\u5173\u952E\u5B57\u5217\u8868\u6BCF\u884C\u4E00\u4E2A\u5173\u952E\u5B57\r\n\u5173\u952E\u5B57\u5217\u8868\u4E00\u822C\u8BBE\u7F6E\u76F8\u5173\u94FE\u63A5");

	}

}
